﻿namespace Ewk.MachineLearning.Genetic.Programming.Engine
{
    /// <summary>
    /// Configuration for the genetic programming engine.
    /// </summary>
    public class EngineConfiguration
    {
        /// <summary>
        /// Initializes a new instance with default values.
        /// </summary>
        public EngineConfiguration()
        {
            PopulationSize = 500;
            MaxDepth = 20;
        }

        /// <summary>
        /// Gets the number of individuals in the population.
        /// </summary>
        public int PopulationSize { get; set; }

        /// <summary>
        /// Gets the maximum depth for an individual.
        /// </summary>
        public int MaxDepth { get; set; }
    }
}